package com.java1234.model;

import java.util.Date;

public class ReturnBook {
	private String borrowerAccount;//借阅者账号
	private String bookId;//图书编号
	private Date borrowTime;//借阅时间
	private Date returnTime;//还书时间
	private String status;//图书状态
	private int fine;//超期罚款

	public ReturnBook() {
		super();
	}

	public ReturnBook(String borrowerAccount, String bookId, Date borrowTime, Date returnTime, String status) {
		super();
		this.borrowerAccount = borrowerAccount;
		this.bookId = bookId;
		this.borrowTime = borrowTime;
		this.returnTime = returnTime;
		this.status = status;
	}

	public ReturnBook(String borrowerAccount, String bookId, String status) {
		super();
		this.borrowerAccount = borrowerAccount;
		this.bookId = bookId;
		this.status = status;
	}

	public ReturnBook(String borrowerAccount, String bookId) {
		super();
		this.borrowerAccount = borrowerAccount;
		this.bookId = bookId;
	}
	

	public ReturnBook(String bookId, Date returnTime, int fine) {
		super();
		this.bookId = bookId;
		this.returnTime = returnTime;
		this.fine = fine;
	}
	

	public ReturnBook(String bookId, int fine) {
		super();
		this.bookId = bookId;
		this.fine = fine;
	}

	public String getBorrowerAccount() {
		return borrowerAccount;
	}

	public void setBorrowerAccount(String borrowerAccount) {
		this.borrowerAccount = borrowerAccount;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	public Date getBorrowTime() {
		return borrowTime;
	}

	public void setBorrowTime(Date borrowTime) {
		this.borrowTime = borrowTime;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getFine() {
		return fine;
	}

	public void setFine(int fine) {
		this.fine = fine;
	}

}
